package com.czmh.etc.onlinepubsys.maper.wj;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.czmh.etc.onlinepubsys.entity.wj.EtcWjOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface WjOrderMapper extends BaseMapper<EtcWjOrder> {
    @Update("update wj_order set payNo = #{payNo}, payState = #{payState} where orderNo = #{orderNo}")
    void updateByOrderNo(@Param("orderNo") String orderNo, @Param("payNo") String payNo,
                         @Param("payState") Integer payState);
}
